﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Runtime.Serialization;

namespace Utilities
{
    [Serializable]
    public class EmptyGuidException : System.Exception
    {
        public static string InternalMessage { get { return " Guid cannot be null or empty"; } }

        public EmptyGuidException() : base(InternalMessage) { }
        public EmptyGuidException(string message) : base(message + InternalMessage) { }
        public EmptyGuidException(string message, Exception innerException) : base(message + InternalMessage, innerException) { }
        public EmptyGuidException(SerializationInfo info, StreamingContext context) : base(info, context) { }

    }
}
